package com.starlight.flower_server.infrastructure.repository;

import com.starlight.flower_server.domain.itemCategory.data.ItemCategoryData;
import com.starlight.flower_server.infrastructure.entity.FlowerUserRole;
import com.starlight.flower_server.infrastructure.entity.ItemCategory;

import java.util.List;

/**
 * @Author yfy2001
 * @date 2023/5/22 19:18
 */
public interface ItemCategoryRepository {

    ItemCategory queryDetail(Long id);

    Integer insert(ItemCategory itemCategory);

    Integer modify(ItemCategory itemCategory);

    Integer logicDelete(Long id);

    List<ItemCategory> querySub(Long categoryId);

    List<ItemCategory> queryAll();
}
